package asia.doing.entity;

import java.util.List;

public class Comment {
    /* ID */
    private Long id;
    /* 内容 */
    private String content;
    /* 用户id */
    private Long userId;
    /* 父级id */
    private Long pid;
    /* 根节点id */
    private Long rootId;
    /* 评论时间 */
    private String time;
    /* 博客Id */
    private Long fid;
    /* 模块分类 'blog'或者是'Activity' */
    private String module;
    /* 用户名字 */
    private String userName;
    /* 用户头像 */
    private String avatar;
    /* 回复用户的名字 */
    private String replyUser;
    /* 子评论 */
    private List<Comment> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getRootId() {
        return rootId;
    }

    public void setRootId(Long rootId) {
        this.rootId = rootId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Long getFid() {
        return fid;
    }

    public void setFid(Long fid) {
        this.fid = fid;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getReplyUser() {
        return replyUser;
    }

    public void setReplyUser(String replyUser) {
        this.replyUser = replyUser;
    }

    public List<Comment> getChildren() {
        return children;
    }

    public void setChildren(List<Comment> children) {
        this.children = children;
    }
}
